package com.example.demo.entity.DTO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class ArticleRemarksDTO extends ArticleUserDTO{

    @ApiModelProperty("评论ID")
    @TableId(value = "remarks_id", type = IdType.AUTO)
    private Integer remarksId;

    @ApiModelProperty("文章ID")
    private Integer articleId;

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("评论内容")
    private String remarks;
}
